<template>
    <div class="flow-info">
        <el-form ref="form" :model="form" label-width="80px">
            <el-form-item label="机构">
                <el-select v-model="form.region" placeholder="请选择活动区域">
                    <el-option label="区域一" value="shanghai"></el-option>
                    <el-option label="区域二" value="beijing"></el-option>
                </el-select>
            </el-form-item>
            <el-form-item label="名称">
                <el-input v-model="form.name"></el-input>
            </el-form-item>
            <el-form-item label="分类">
                <el-select v-model="form.region" placeholder="请选择活动区域">
                    <el-option label="区域一" value="shanghai"></el-option>
                    <el-option label="区域二" value="beijing"></el-option>
                </el-select>
            </el-form-item>
            <el-form-item label="有效期">
                <el-col :span="8">
                    <el-date-picker type="date" placeholder="选择日期" v-model="form.date1" style="width: 100%;"></el-date-picker>
                </el-col>
                <el-col class="line" :span="2">-</el-col>
                <el-col :span="8">
                    <el-date-picker type="date" placeholder="选择日期" v-model="form.date1" style="width: 100%;"></el-date-picker>
                </el-col>
            </el-form-item>
            <el-form-item label="标签">
                <el-checkbox-group v-model="form.type" style="text-align: left">
                    <el-checkbox label="标签1" name="type"></el-checkbox>
                    <el-checkbox label="标签2" name="type"></el-checkbox>
                    <el-checkbox label="标签3" name="type"></el-checkbox>
                    <el-checkbox label="标签4" name="type"></el-checkbox>
                </el-checkbox-group>
            </el-form-item>
            <el-form-item class="flow-info-btn">
                <el-button type="primary" >保存</el-button>
                <el-button>取消</el-button>
            </el-form-item>
        </el-form>
    </div>
</template>
<script>
    export default{
        name:"flowInfo",
        props:{
            flowData:{
                type:[Object,Array],
                default:[]
            }
        },
        components:{},
        data(){
            return{
                form: {
                    name: '',
                    region: '',
                    date1: '',
                    date2: '',
                    delivery: false,
                    type: [],
                    resource: '',
                    desc: ''
                }
            }
        },
        methods:{

        }
    }
</script>
<style scoped="scoped">
    .flow-info-btn{
        text-align: left;
        padding-top: 30px;
    }
</style>
